export default {
  Version: "3.2.4",
  // ServerRouterBaseUrl: "http://tomstapi.trial.hk/",
  // ServerRouterUrl: "http://tomstapi.trial.hk/",
  // ServerRouterBaseUrl: "http://tomsapi.trial.hk/",
  // ServerRouterUrl: "http://tomsapi.trial.hk/",

  ServerRouterBaseUrl: "https://apitest.mizar.hk/",
  ServerRouterUrl: "https://apitest.mizar.hk/",
  // ServerRouterBaseUrl: "http://localhost:59734/",
  // ServerRouterUrl: "http://localhost:59734/",
  sysAdmin: "SA",
  sysAdminGrp: "SAG",
  key: "9475E478326FF74F5B4FB93E437650C1434CB0A183889F4D5CD41491ECE65955",

  AdmissionDocCode: "CM440",

  FileType: {
    Image: ["PNG", "JPG", "JPEG"],
    Video: ["MP4", "MOV", "WMV", "AVI"],
    PDF: ["PDF"],
  },

  ButtonType: {
    Approve: "approve",
    Save: "save",
    SaveAndSubmit: "save-and-submit",
    Add: "add",
    Submit: "submit",
    Report: "report",
    Envelope: "envelope",
    Reject: "reject",
    Cancel: "cancel",
    PrintLabel: "print-label",
    Print: "print",
    Preview: "preview",
    Callback: "callback",
    Back: "back",
    Confirm: "confirm",
    Close: "close",
    Export: "export",
    Register: "register",
    Done: "done",
    BTN_Grey: "btn-grey",
    BTN_Blue: "btn-blue",
  },

  DocType: {
    Task: "TSK",
    Entity: "ENT",
    Admission: "ADM",
    Resovle: "RESCASE",
    Report: "RPT",
    Pipe: "PIPE",
    Sign: "SIGN",
  },

  ActAprvType: {
    Proposal: "ACT",
    FinRpt: "ACTPRT",
  },

  ActStatus: {
    NotCreated: "00",
    NEW: "10",
    SUBMITTED: "20",
    REJECTED: "30",
    APPROVING: "60",
    APPROVED: "70",
    COMPLETED: "80",
    CANCELLED: "99",

    "00": "notCreated",
    "10": "new",
    "20": "submitted",
    "30": "rejected",
    "60": "approving",
    "70": "approved",
    "80": "completed",
    "99": "cancelled",
  },

  SessStatus: {
    New: "10",
    Registering: "20",
    RegClosed: "30", // reg closed
    Completed: "90",
    Cancelled: "99",

    "10": "New",
    "20": "Registering",
    "30": "RegClosed",
    "90": "Completed",
    "99": "Cancelled",
  },

  RegStatus: {
    New: "10",
    Registered: "20",
    WaitingList: "21",
    LuckyDrawSelected: "25",
    Paid: "30",
    RegRejected: "90",
    Withdraw: "91",
    Cancelled: "99",

    "10": "New",
    "20": "Registered",
    "21": "WaitingList",
    "25": "LuckyDrawSelected",
    "30": "Paid",
    "90": "RegRejected",
    "91": "Withdraw",
    "99": "Cancelled",
  },

  ActType: {
    PR101: "PR101",
    PR105: "PR105",
    AH: "AH",
  },

  SMIStatus: {
    New: 10,
    WorkInProgress: 20,
    SMIReqAprv: 30,
    Quoting: 40,
    Approving: 50,
    Completed: 90,
    Cancelled: 99,

    "10": "New",
    "20": "WorkInProgress",
    "30": "SMIReqAprv",
    "40": "Quoting",
    "50": "Approving",
    "90": "Completed",
    "99": "Cancelled",
  },
  QUOTStatus: {
    New: 10,
    Pending: 30,
    Submitted: 60,
    Completed: 70,
    Cancelled: 99,

    "10": "New",
    "30": "Pending",
    "60": "Submitted",
    "70": "Completed",
    "99": "Cancelled",
  },
  TSKStatus: {
    New: 10,
    Pending: 30,
    Quoting: 40,
    Approving: 50,
    OrderIssued: 60,
    ProgSubmitted: 65,
    ProgApproved: 70,
    WorkInProgress: 75,
    ReadyToComplete: 80,
    Completed: 90,
    Cancelled: 99,

    "10": "New",
    "30": "Pending",
    "40": "Quoting",
    "50": "Approving",
    "60": "Order Issued",
    "65": "Prog. Submitted",
    "70": "Prog. Approved",
    "75": "Work In Progress",
    "80": "Ready to Complete",
    "90": "Completed",
    "99": "Cancelled",
  },
  ProjStatus: {
    New: 10,
    Pending: 30,
    Quoting: 40,
    Approving: 50,
    Completed: 90,
    Cancelled: 99,
    "10": "New",
    "30": "Pending",
    "40": "Quoting",
    "50": "Approving",
    "90": "Completed",
    "99": "Cancelled",
  },
  APRVStatus: {
    NotReq: 10,
    Require: 20,
    Rejected: 30,
    Approving: 60,
    Approved: 70,
    Completed: 90,
    Cancelled: 99,

    "10": "NotReq",
    "20": "Require",
    "30": "Rejected",
    "60": "Approving",
    "70": "Approved",
    "90": "Completed",
    "99": "Cancelled",
  },
  ASSStatus: {
    New: 10,
    Pending: 30,
    Approving: 50,
    Completed: 90,
    Cancelled: 99,

    "10": "New",
    "30": "Pending",
    "50": "Approving",
    "90": "Completed",
    "99": "Cancelled",
  },

  MenuID: {
    // DCM
    Dashboard: "01000000",
    Staff: "22000000",
    Staff_User: "22010000",
    Staff_UserGroup: "22020000",
    Staff_Device: "22030000",
    Staff_AprvSetting: "22040000",
    Report: "17000000",
    Rpt_TOValue: "17100000",
    Rpt_ScheduleValue: "17200000",
    Rpt_RetentionSummary: "17300000",
    Rpt_SOQ_GS: "17500000",
    MM: "20000000",
    MM_ExpensesType: "20010000",
    // MM_InflatIdx: "20020000",
    // MM_Item: "20030000",
    MM_ItemCate: "20040000",
    MM_ItemType: "20050000",
    MM_Method: "20060000",
    MM_Process: "20070000",
    MM_AlertRecp: "20080000",
    MM_SysParameter: "20090000",
    MM_TTAInjItem: "20100000",

    ToDoList: "01500000",
    Smi: "02000000",
    SmiList: "02010000",
    SmiApprove: "02020000",
    Quotation: "03000000",
    QuotationList: "03010000",
    QuotationApprove: "03020000",
    TaskOrder: "04000000",
    TaskOrderList: "04010000",
    TaskOrderSiteProgress: "04020000",
    CertifyPayment: "05000000",
    CatDMaintenence: "18000000",
    CatDMaintenanceCatD: "18100000",
    CatDForecast: "18150000",
    CatDMaintenanceFundTransfer: "18200000",
    CatDMaintenanceItem: "18300000",
    CatDMaintenancePipeProfile: "18400000",
    CatDMaintenanceInflationIndex: "18500000",
    JobSheetDesigner: "21000000",
  },
  Permission: {
    Change: "Change",
    Delete: "Delete",
    Export: "Export",
    Import: "Import",
    Print: "Print",
    Read: "Read",
    Write: "Write",
  },
  ProjPermission: {
    Chat: "Alw_Chat",
    DelDoc: "Alw_DelDoc",
    Delete: "Alw_Delete",
    DocLib: "Alw_DocLib",
    Export: "Alw_Export",
    Print: "Alw_Print",
    Read: "Alw_Read",
    Upload: "Alw_Upload",
    Write: "Alw_Write",
  },
  SysParameter: {
    ADMUSRDFTDP: "ADMUSRDFTDP",
    ALWCHATRM: "ALWCHATRM",
    ALWMANPJC: "ALWMANPJC",
    ALWSRETOTEAM: "ALWSRETOTEAM",
    BARCHARTCLR: "BARCHARTCLR",
    DEFCOUNTRY: "DEFCOUNTRY",
    DEFPJTYPE: "DEFPJTYPE",
    FAXSENDER: "FAXSENDER",
    FAXSENDPASS: "FAXSENDPASS",
    FINYEAR: "FINYEAR",
    GPSPRECISION: "GPSPRECISION",
    MAILSERV: "MAILSERV",
    ORGNAME: "ORGNAME",
    OTSTART: "OTSTART",
    SMIPRFX: "SMIPRFX",
    SMTPENBSSL: "SMTPENBSSL",
    SMTPPORT: "SMTPPORT",
    TOPRFX: "TOPRFX",
    WORKHRS: "WORKHRS",
    WORKHRSSAT: "WORKHRSSAT",
    WORKHRSSUN: "WORKHRSSUN",
  },
  SysStatusTxType: {
    TaskOrder: "TSK",
    SMI: "SMI",
    Quotation: "QUOT",
    SiteProgress: "TSK",
    Approve: "APRV",
  },
  ExpendType: {
    ConsultFee: "CFEE",
    Contingency: "CONTIN",
    CPF: "CPF",
    PS: "P+S",
    RSS: "RSS",
    Works: "WORKS",
    ExcavationPermit: "XP",
  },
  ExpenseType: {
    ConsultFee: "CFEE",
    Contingency: "CONTIN",
    CPF: "CPF",
    PS: "P+S",
    RSS: "RSS",
    Works: "WORKS",
    ExcavationPermit: "XP",
  },
};
